package com.example.security.demo.service;

import com.example.security.demo.dto.UserDto;

/**
 * @author zhanpengguo
 * @date 2019-10-15 14:47
 */
public interface TokenService {
    String saveToken(UserDto userDto);

    UserDto queryUserByToken(String token);

    void deleteToken(String token);
}
